package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "userlevel")
public class UserLevel {

    private ObjectId id; //主键id
    private Long userId; //用户id
    private String level; //该用户星级
    private Integer isLock; //是否锁住（0解锁，1锁住）
}
